﻿using ProjectFootball.MVC.Foundation.ResourceLibrary;
using System;
using System.ComponentModel.DataAnnotations;

namespace ProjectFootball.MVC.Areas.CountryArea.Models
{
    public class CountryDataModel
    {
        public CountryDataModel()
        {
            ActiveFrom = DateTime.Today;
            ActiveTo = _DateTime.HighDate;
        }

        public Guid CountryGuid { get; set; }
        public Guid ApprovalGuid { get; set; }

        [Display(Name = "Country name")]
        [Required]
        public string CountryName { get; set; }

        [Display(Name = "Active from")]
        [DataType(DataType.Date)]
        public DateTime ActiveFrom { get; set; }

        [Display(Name = "Active to")]
        [DataType(DataType.Date)]
        public DateTime ActiveTo { get; set; }
    }
}